\linespread{1.15}
%Include packages here.
\usepackage{amsmath, amssymb, amsthm, hyperref, mathrsfs}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{graphicx, fancyhdr, enumerate}
%Customize the margins here.
\usepackage[right=1in,top=1in,left=1in,bottom=1.2in]{geometry}

% 中文支持配置(使用更稳定的方案)
\usepackage{fontspec} % XeLaTeX 字体引擎
\usepackage{xeCJK}    % 专业中文支持


%Create the command for generating the header.
%\handout{**COURSE/EVENT NAME**}{**DATE**}{**TITLE**}{**INSTRUCTOR/SPEAKER**}{**SCRIBE(S)**}
\newcommand{\handout}[5]
{
  \noindent
  \begin{center}
  \framebox[\textwidth]
  {
    \vbox
    {
    \vspace{0.25cm}
      \hbox to \textwidth { {#1} \hfill #2 }
      \vspace{0.48cm}
      \hbox to \textwidth { {\Large \hfill #3  \hfill} }
      \vspace{0.42cm}
      \hbox to \textwidth { {#4 \hfill Scribes:\hspace{0.08cm}#5} } \vspace{0.25cm}
    }
  }
  \end{center}
  \vspace*{4mm}
}

%Create a draft notice command to signal when the scribe notes are not finished.
\newcommand{\draftnotice}
{
    \vbox to 0.25in
    {
        \noindent
        \raisebox{0.6in}[0in][0in]{\makebox[\textwidth][r]{\it DRAFT VERSION}}
    }
    \vspace{-.25in}\vspace{-\baselineskip}
}

%Define new commands for nice formatting here.
\newtheorem{theorem}{定理}
\newtheorem{corollary}[theorem]{推论}
\newtheorem{lemma}[theorem]{引理}
\newtheorem{example}[theorem]{例}
\newtheorem{definition}[theorem]{定义}
\newtheorem{claim}[theorem]{断言}
\newtheorem{property}[theorem]{性质}
\newtheorem{rmk}[theorem]{注}
\newtheorem{recall}[theorem]{回忆}
